
<table border="0" cellpadding="5" cellspacing="0" width="100%">
    <tr>
        <td class="newsSummary">
            <div class="cms-form-message">
                Complete the fields below to add a new Spotlight / Banner to the site&nbsp;
            </div>
            <form action="<?php echo $this->url(array('action' => 'add')); ?>" method="post" enctype="multipart/form-data" name="form2" id="spotlight-add-form">
                <table width="98%" border="0" align="center" cellpadding="6" cellspacing="0">
                    <tr valign="baseline">
                        <td colspan="2" align="left" valign="middle" nowrap="nowrap" class="cms-warning" style="text-align: left;">
                            <input name="approved" type="checkbox" id="approved" value="" />
                            Approved For Display
                            <input name="date2" type="hidden" id="date" value="<?php echo date('Y-m-d'); ?>" />
                            <input type="hidden" name="ext" id="ext" value=""  />
                            <input type="hidden" name="allowedExt" id="allowedExt" value="jpg,jpeg,png,swf,jar"  />
                        </td>
                    </tr>
                    <tr valign="baseline">
                        <td width="20%" align="right" nowrap="nowrap" class="sectionTitle1">Title:</td>
                        <td width="80%">
                            <input class="required" required type="text" name="menu_header" id="menu_header" value="" size="40" />
                        </td>
                    </tr>
                    <tr valign="baseline">
                        <td align="right" nowrap="nowrap" class="sectionTitle1">Subtitle:</td>
                        <td>
                            <input type="text" name="menu_subheader" id="menu_subheader" value="" size="40" />
                        </td>
                    </tr>
                    <tr valign="baseline">
                        <td align="right" valign="top" nowrap="nowrap" class="sectionTitle1">Description:</td>
                        <td>
                            <textarea name="description" id="description" cols="60" rows="5" ></textarea>
                        </td>
                    </tr>
                    <tr valign="baseline">
                        <td align="right" nowrap="nowrap" class="sectionTitle1">Spotlight URL:</td>
                        <td>
                            <input class="page-linker" type="text" name="spotlight_url" value="" size="50" /></td>
                    </tr>
                    <tr valign="baseline">
                        <td align="right" valign="middle" nowrap="nowrap" class="sectionTitle1">&nbsp;</td>
                        <td>
                            <?php
                            $info = $site->theme->option("spotlight_info");

                            if ($info) {
                                ?>
                                <span class="small">Image to Upload Should Have Dimensions of <strong><?php echo $info['width'] . ' x ' . $info['height']; ?></strong> To Work With The Selected Theme</span><?php }
                            ?>
                        </td>
                    </tr>
                    <tr valign="baseline">
                        <td align="right" valign="middle" nowrap="nowrap" class="sectionTitle1">Spotlight Image:</td>
                        <td>
                            <input class="required" name="uploadfile" type="file" id="uploadFile" size="40" />
                            <span class="small">(Required)</span></td>
                    </tr>

                </table>
                <input type="hidden" name="spotlight" value="none" />
                <input type="hidden" name="MM_insert" value="form2" />
            </form>
        </td>
    </tr>
</table>